<extend name="Index/common"/>

<block name="main">
    {:hook('documentDetailBefore', $info)}
	<article class="post">
        <h1 class="post-title"><a href="__SELF__">{$info.title}</a></h1>
        <ul class="post-meta">
            <li>作者：{$info.uid|get_username}</li>
            <li>时间：发表于 {$info.create_time|date='Y-m-d H:i',###}</li>
            <neq name="info.cate_title" value="">
            <li>分类：<a href="{:U('category/'.$info['cate_name'])}">{$info.cate_title}</a></li>
            </neq>
        </ul>
        <div class="post-content">{$info.content}</div>
        <p class="tags">标签：{$info.id|get_tag}</p>
    </article>

    {:hook('documentDetailAfter', $info)}
</block>
